﻿using System;
using System.Web.UI.WebControls;

using UI.WebControls.ControlsBase;
namespace UI.WebControls
{
    /// <summary>
    /// UI层，页面控件基类，选车选项单选按钮
    /// </summary>
    public class MotorSelectRBL : RadioButtonListBase
    {
        /// <summary>
        /// 初始化的全部数据
        /// </summary>
        public string InitChecking { get; set; }

        protected override void OnLoad(EventArgs e)
        {
            if (!string.IsNullOrEmpty(InitChecking))
            {
                string[] list = InitChecking.Split(',');
                foreach (string s in list)
                    this.Items.Add(new ListItem(s));
            }
            base.OnLoad(e);
        }
    }
}
